Welcome![Sign In][Sign Up]
Location:
Search - random numbers in matlab

Search list

[OtherAn Introduction to Matlab

Description: 1 MATLAB 2 2 Starting Up 2 2.1 Windows Systems . . . . . . . . . . 2 2.2 Unix Systems . . . . . . . . . . . . . 2 2.3 Command Line Help . . . . . . . . . 2 2.4 Demos . . . . . . . . . . . . . . . . . 3 3 Matlab as a Calculator 3 4 Numbers & Formats 3 5 Variables 3 5.1 Variable Names . . . . . . . . . . . . 3 6 Suppressing output 4 7 Built{In Functions 4 7.1 Trigonometric Functions . . . . . . . 4 7.2 Other Elementary Functions . . . . . 4 8 Vectors 4 8.1 The Colon Notation . . . . . . . . . 5 8.2 Extracting Bits of a Vector . . . . . 5 8.3 Column Vectors . . . . . . . . . . . . 5 8.4 Transposing . . . . . . . . . . . . . . 5 9 Keeping a record 6 10 Plotting Elementary Functions 6 10.1 Plotting|Titles & Labels . . . . . . 7 10.2 Grids . . . . . . . . . . . . . . . . . . 7 10.3 Line Styles & Colours . . . . . . . . 7 10.4 Multi{plots . . . . . . . . . . . . . . 7 10.5 Hold . . . . . . . . . . . . . . . . . . 7 10.6 Hard Copy . . . . . . . . . . . . . . 8 10.7 Subplot . . . . . . . . . . . . . . . . 8 10.8 Zooming . . . . . . . . . . . . . . . . 8 10.9 Formatted text on Plots . . . . . . . 8 10.10Controlling Axes . . . . . . . . . . . 9 11 Keyboard Accelerators 9 12 Copying to and from Word and other applications 10 12.1 Window Systems . . . . . . . . . . . 10 12.2 Unix Systems . . . . . . . . . . . . . 10 13 Script Files 10 14 Products, Division & Powers of Vectors 11 14.1 Scalar Product (*) . . . . . . . . . . 11 14.2 Dot Product (.*) . . . . . . . . . . . 11 14.3 Dot Division of Arrays (./) . . . . . 12 14.4 Dot Power of Arrays (.^) . . . . . . 12 15 Examples in Plotting 13 16 Matrices|Two{Dimensional Arrays 13 16.1 Size of a matrix . . . . . . . . . . . . 14 16.2 Transpose of a matrix . . . . . . . . 14 16.3 Special Matrices . . . . . . . . . . . 14 16.4 The Identity Matrix . . . . . . . . . 14 16.5 Diagonal Matrices . . . . . . . . . . 15 16.6 Building Matrices . . . . . . . . . . . 15 16.7 Tabulating Functions . . . . . . . . . 15 16.8 Extracting Bits of Matrices . . . . . 16 16.9 Dot product of matrices (.*) . . . . 16 16.10Matrix{vector products . . . . . . . 16 16.11Matrix{Matrix Products . . . . . . . 17 16.12Sparse Matrices . . . . . . . . . . . . 17 17 Systems of Linear Equations 18 17.1 Overdetermined system of linear equations . . . . . . . . . . . . . . . . . . 18 18 Characters, Strings and Text 20 19 Loops 20 20 Logicals 21 20.1 While Loops . . . . . . . . . . . . . . 22 20.2 if...then...else...end . . . . . . 23 21 Function m{ les 23 21.1 Examples of functions . . . . . . . . 24 22 Further Built{in Functions 25 22.1 Rounding Numbers . . . . . . . . . . 25 22.2 The sum Function . . . . . . . . . . . 25 22.3 max & min . . . . . . . . . . . . . . . 26 22.4 Random Numbers . . . . . . . . . . 26 22.5 find for vectors . . . . . . . . . . . . 27 22.6 find for matrices . . . . . . . . . . . 27 23 Plotting Surfaces 27 24 Timing 28 25 On{line Documentation 29 26 Reading and Writing Data Files 29 26.1 Formatted Files . . . . . . . . . . . . 30 26.2 Unformatted Files . . . . . . . . . . 30 27 Graphic User Interfaces 31 28 Command Summary 32
Platform: | Size: 877346 | Author: taffy320 | Hits:

[AI-NN-PR我编写的monte carlo随机数发生器

Description: 这是我在matlab环境下编写的产生随机数的源程序,包括产生均匀分布和正态分布,参数接口十分灵活。-in Matlab environment prepared by the random numbers generated by the source code, including the Uniform Distribution and normal distribution, parameter interface is very flexible.
Platform: | Size: 2048 | Author: 存友 | Hits:

[Mathimatics-Numerical algorithmsuniformgauss

Description: 均匀分布的随机数,并依此产生高斯分布随机数,12和法和Box-Muller法产生高斯分布-uniform distribution of random numbers, and so have a Gaussian distribution of random numbers, 12 and the law and Box-Muller method, Gaussian distribution
Platform: | Size: 1024 | Author: 吴俊 | Hits:

[matlabNumerical_Computing_with_MATLAB

Description: Numerical Computing with MATLAB (by Cleve Moler) is a textbook for an introductory course in numerical methods, Matlab, and technical computing. The emphasis is on in- formed use of mathematical software. We want you learn enough about the mathe- matical functions in Matlab that you will be able to use them correctly, appreciate their limitations, and modify them when necessary to suit your own needs. The topics include * introduction to Matlab, * linear equations, * interpolation, * zero and roots, * least squares, * quadrature, * ordinary di?erential equations, * random numbers, * Fourier analysis, * eigenvalues and singular values, * partial di?erential equations.-Numerical Computing with MATLAB (by Cleve Moler) is a textbook for an introductory coursein numerical methods, Matlab, and technical computing. The emphasis is on in-formed use of mathematical software. We want you learn enough about the mathe-matical functions in Matlab that you will be able to use them correctly, appreciatetheir limitations, and modify them when necessary to suit your own needs. Thetopics include* introduction to Matlab,* linear equations,* interpolation,* zero and roots,* least squares,* quadrature,* ordinary di? erential equations,* random numbers,* Fourier analysis,* eigenvalues and singular values,* partial di? erential equations.
Platform: | Size: 3994624 | Author: | Hits:

[matlabncm

Description: Toolbox for Numerical Computing with MATLAB (by Cleve Moler). Numerical Computing with MATLAB (by Cleve Moler) is a textbook for an introductory course in numerical methods, Matlab, and technical computing. The emphasis is on in- formed use of mathematical software. We want you learn enough about the mathe- matical functions in Matlab that you will be able to use them correctly, appreciate their limitations, and modify them when necessary to suit your own needs. The topics include * introduction to Matlab, * linear equations, * interpolation, * zero and roots, * least squares, * quadrature, * ordinary di?erential equations, * random numbers, * Fourier analysis, * eigenvalues and singular values, * partial differential equations.-Toolbox for Numerical Computing with MATLAB (by Cleve Moler). Numerical Computing with MATLAB (by Cleve Moler) is a textbook for an introductory coursein numerical methods, Matlab, and technical computing. The emphasis is on in-formed use of mathematical software. We want you learn enough about the mathe-matical functions in Matlab that you will be able to use them correctly, appreciatetheir limitations, and modify them when necessary to suit your own needs. Thetopics include* introduction to Matlab,* linear equations,* interpolation,* zero and roots,* least squares,* quadrature,* ordinary di? erential equations,* random numbers,* Fourier analysis,* eigenvalues and singular values,* partial differential equations.
Platform: | Size: 243712 | Author: | Hits:

[Othersv

Description: 随机数的产生与检验 用余数法产生(0,1)均匀分布随机数等-Random Number Generation and testing by more than a few law (0,1) uniformly distributed random numbers, etc.
Platform: | Size: 1024 | Author: 张童 | Hits:

[matlabguass

Description: 基于MATLAB,可以方便地产生随机数,均匀分布和高斯分布等 -Based on MATLAB, can easily generate random numbers, uniform distribution and Gaussian distribution
Platform: | Size: 1024 | Author: shaoyqo | Hits:

[matlabopt_random

Description: 随机数的产生! 在matlab里面实现的-The generation of random numbers! Inside achievable in matlab
Platform: | Size: 15360 | Author: haboy | Hits:

[matlabPoisonDist

Description: 产生泊松分布的随机数列 希望对大家有所帮助-Have a Poisson distribution of random numbers out hope that U.S. help
Platform: | Size: 3072 | Author: zzh | Hits:

[matlabdwprotected

Description: Matlab source code for DCT-based watermarking for grayscale images. DCT-based watermark recovering without resorting to the uncorrupted original image. Digital watermarking has been proposed as a viable solution to the need of copyright protection and authentication of multimedia data in a networked environment, since it makes possible to identify the author, owner, distributor or authorized consumer of a document. A new watermarking technique to add a code to digital images is presented: the method operates in the frequency domain embedding a pseudo-random sequence of real numbers in a selected set of DCT coefficients. Watermark casting is performed by exploiting the masking characteristics of the Human Visual System, to ensure watermark invisibility. The embedded sequence is extracted without resorting to the original image, so that the proposed technique represents a major improvement to methods relying on the comparison between the watermarked and original images.
Platform: | Size: 98304 | Author: omar | Hits:

[OtherlocalRand

Description: 常用随机数发生器,C实现 /* * 文件包含了6个函数,它们能产生符合相应分布的规律的随机数: * GenUniformRnd : 产生一个随机数,符合均匀分布。(伪随机序列) * GenBernoulliRnd : 产生一个随机数,符合伯努利分布。 * GenBinomialRnd : 产生一个随机数,符合二项分布。 * GenPoissonRnd : 产生一个随机数,符合泊松分布。 * GenExponentRnd : 产生一个随机数,符合指数分布。 * GenGaussRnd : 产生一个随机数,符合高斯分布。 */-Common random number generator, C implementation /** file contains six functions, they can produce in line with the corresponding distribution laws of random numbers:* GenUniformRnd: generate a random number, in line with evenly distributed. (Pseudo-random sequence)* GenBernoulliRnd: generate a random number, in line with the Bernoulli distribution.* GenBinomialRnd: generate a random number, in line with binomial distribution.* GenPoissonRnd: generate a random number, in line with Poisson distribution.* GenExponentRnd: generate a random number, in line with exponential distribution.* GenGaussRnd: generate a random number, in line with Gaussian distribution.* /
Platform: | Size: 1024 | Author: lo | Hits:

[OtherRandWPSO

Description: 权重改进粒子群算法中的随机权重法,将标准PSO算法中设定w为服从某种随机分布的随机数,这样一定程度上可从两方面克服w的线性递减所带来的不足-Weights improved particle swarm algorithm in the random weight method, the standard PSO algorithm to set w to obey a random distribution of the random numbers, so to a certain extent can be reduced in two ways to overcome the linear w arising from lack of
Platform: | Size: 1024 | Author: 李峰 | Hits:

[matlabtest6

Description: matlab实验 用给定的多项式,y=x3-6x2+5x-3,产生一组数据(xi,yi,i=1,2,…,n),再在yi上添加随机干扰(可用rand产生(0,1)均匀分布随机数,或用rands产生N(0,1)分布随机数),然后用xi和添加了随机干扰的yi作的3次多项式拟合,与原系数比较。 如果作2或4次多项式拟合,结果如何? -matlab experiment with a given polynomial, y = x3-6x2+5 x-3, generated a set of data (xi, yi, i = 1,2, ..., n), then add random noise in yi (available rand generation (0,1) uniformly distributed random number, or rands generated N (0,1) random numbers), then xi and yi to add a random disturbance polynomial fitting for the three times, compared with the original coefficient . If 2 or 4 times for polynomial fitting, the result?
Platform: | Size: 4096 | Author: 崔昭宇 | Hits:

[matlabmatlab

Description: 根据伪随机序列理论,由混合同余法产生均匀分布的随机数,进而根据中心极限定理来产生高斯噪声。 分析所产生的均匀分布和高斯分布随机信号的均值、方差、自相关等数字特征,估计其概率密度函数并进行分析,估计其功率谱密度并进行分析。说明该高斯噪声是否符合白噪声特性。 对该高斯噪声进行FIR低通滤波,估计输出低通型限带白噪声的功率谱、相关时间等,并结合白噪声通过线性系统相关理论来进行分析。 -According to the theory of pseudo-random sequence, a uniformly distributed random numbers by mixed congruential method to generate Gaussian noise, and then according to the central limit theorem. Produce a uniform distribution of the analysis and the mean of the Gaussian distribution random signals, variance, since the digital characteristics of the correlation, the probability density function is estimated and analyzed, it is estimated that its power spectral density, and analyzed. The Gaussian noise is in line with the characteristics of white noise. FIR low pass filter of the Gaussian noise, the estimated output of low-pass type band-limited white noise power spectrum, time, etc., combined with the white noise to be analyzed by linear system theory.
Platform: | Size: 1024 | Author: Lee | Hits:

[OtherNumerical-Computing-with-MATLAB---Cleve-Moler

Description: Numerical Computing with MATLAB is a textbook for an introductory course in numerical methods, Matlab, and technical computing. The emphasis on informed use of mathematical software. We want you to learn enough about the mathematical functions in MATLAB that you will be able to use them correctly, appreciate their limitations, and modify them when necessary to suit your own needs. The topics include: 2 introduction to MATLAB 2 linear equations 2 interpolation 2 zero ˉnding 2 least squares 2 quadrature 2 ordinary di® erential equations 2 random numbers 2 Fourier analysis 2 eigenvalues and singular values 2 partial di® erential equations-Numerical Computing with MATLAB is a textbook for an introductory course in numerical methods, Matlab, and technical computing. The emphasis is on informed use of mathematical software. We want you to learn enough about the mathematical functions in MATLAB that you will be able to use them correctly, appreciate their limitations, and modify them when necessary to suit your own needs. The topics include: 2 introduction to MATLAB 2 linear equations 2 interpolation 2 zero ˉnding 2 least squares 2 quadrature 2 ordinary di® erential equations 2 random numbers 2 Fourier analysis 2 eigenvalues and singular values 2 partial di® erential equations
Platform: | Size: 4048896 | Author: reza | Hits:

[matlabMatlab-to-generate-random-numbers

Description: 随机过程中产生随机数的matlab实现,里面是产生正态、泊松、伯努利的代码和文档,还有对各种随机数的分析-Generate random numbers in the random process matlab to achieve, which is to produce normality, Poisson, Bernoulli code and documentation, as well as analysis of various random number
Platform: | Size: 66560 | Author: | Hits:

[assembly languagematlab1

Description: 使用matlab生成100个三维正态随机数,按照行排列-Use matlab to generate the 100 dimensional normal random numbers, in accordance with rows
Platform: | Size: 3072 | Author: carolsenior | Hits:

[.netnormally-distributed-random

Description: 利用c语言生成符合正态分布的随机数,并在matlab程序中画出曲线图,并与理论值比较-Use c language to generate normally distributed random numbers and draw graphs in matlab program
Platform: | Size: 358400 | Author: 旭凌 | Hits:

[Algorithm信号检测贝叶斯

Description: 使用Matlab编程,对教材74页例3.3.1进行编程仿真。其中,正电压A的值、噪声方差值、每个码元周期内的采样点数N自行设定(可设置为可调的变量)。噪声值可使用Matlab中产生高斯随机数的函数来进行仿真。贝叶斯检测判决式中,先验概率P(H1)=P(H0),判断错误的代价因子设为1,判断正确的代价因子设为0. 按照上述参数的设定进行仿真,实现对仿真数据的贝叶斯检测判决;循环生成仿真数据,并进行判决结果的统计,即记录判决正确的次数,估计正确判决的概率。(The use of Matlab programming, teaching materials 74 pages of 3.3.1 programming simulation. Among them, the value of positive voltage A, the variance of noise, the number of sampling points in each symbol cycle (N) can be set by itself (adjustable variable). Noise values can be simulated using the function of generating Gauss random numbers in Matlab. In the Bias detection decision, the prior probability P (H1) =P (H0), the factor of error judgment is set to 1, and the correct cost factor is set to 0. According to the simulation parameters and realize the judgment of Bayesian detection simulation data; generating cycle simulation data, statistics and decision, which records the correct number of judgment, the estimated probability of correct decision.)
Platform: | Size: 1024 | Author: 妮妮111 | Hits:

[AI-NN-PRsom

Description: 随机产生5类二维坐标系中的数,使用SOM网络进行无监督聚类,将产生的随机数自动聚成五类,并将结果用图像直接显示出来,生成训练好的网络权值(Five kinds of random numbers in two-dimensional coordinate system are generated randomly, and unsupervised clustering is carried out using SOM network. The random numbers generated are automatically clustered into five categories, and the results are displayed directly with images to generate the trained weights of the network.)
Platform: | Size: 57344 | Author: xldtyh | Hits:
« 12 »

CodeBus www.codebus.net